import request from '@/utils/request';
// list
export const xueshengdengjiList = (params) => {
    return request({
        url: '/xueshengdengji/page',
        method: 'post',
        data: params,
    })
};
export const xueshengdengjiDetail = (id) => {
    return request({
        url: '/xueshengdengji/'+id,
        method: 'get',
    })
};
// add
export const xueshengdengjiSave = (params) => {
    return request({
        url: '/xueshengdengji',
        method: 'post',
        data: params,
    })
};
// updt
export const xueshengdengjiEdit = (params) => {
    return request({
        url: '/xueshengdengji',
        method: 'put',
        data: params,
    })
};
// delete
export const xueshengdengjiDelete = (id) => {
    return request({
        url: '/xueshengdengji/'+id,
        method: 'delete',
    })
};
// pldel
export const xueshengdengjiDeleteList = (xueshengdengjis) => {
    return request({
        url: '/xueshengdengji/deleteList',
        data:{list:xueshengdengjis},
        method: 'post',
    })
};
// all
export const xueshengdengjiAllList = () => {
    return request({
        url: '/xueshengdengji',
        method: 'get',
    })
};

